Optimal. Leaf size=51 \[ \frac{\sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{b}+\frac{\cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0782072, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {3303, 3299, 3302} \[ \frac{\sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{b}+\frac{\cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3303
Rule 3299
Rule 3302
Rubi steps
\begin{align*} \int \frac{\sin (c+d x)}{a+b x} \, dx &=\cos \left (c-\frac{a d}{b}\right ) \int \frac{\sin \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx+\sin \left (c-\frac{a d}{b}\right ) \int \frac{\cos \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx\\ &=\frac{\text{Ci}\left (\frac{a d}{b}+d x\right ) \sin \left (c-\frac{a d}{b}\right )}{b}+\frac{\cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{b}\\ \end{align*}
Mathematica [A] time = 0.07534, size = 49, normalized size = 0.96 \[ \frac{\sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )+\cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 73, normalized size = 1.4 \begin{align*}{\frac{1}{b}{\it Si} \left ( dx+c+{\frac{da-cb}{b}} \right ) \cos \left ({\frac{da-cb}{b}} \right ) }-{\frac{1}{b}{\it Ci} \left ( dx+c+{\frac{da-cb}{b}} \right ) \sin \left ({\frac{da-cb}{b}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.18376, size = 190, normalized size = 3.73 \begin{align*} \frac{d{\left (-i \, E_{1}\left (\frac{i \,{\left (d x + c\right )} b - i \, b c + i \, a d}{b}\right ) + i \, E_{1}\left (-\frac{i \,{\left (d x + c\right )} b - i \, b c + i \, a d}{b}\right )\right )} \cos \left (-\frac{b c - a d}{b}\right ) + d{\left (E_{1}\left (\frac{i \,{\left (d x + c\right )} b - i \, b c + i \, a d}{b}\right ) + E_{1}\left (-\frac{i \,{\left (d x + c\right )} b - i \, b c + i \, a d}{b}\right )\right )} \sin \left (-\frac{b c - a d}{b}\right )}{2 \, b d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.657, size = 201, normalized size = 3.94 \begin{align*} -\frac{{\left (\operatorname{Ci}\left (\frac{b d x + a d}{b}\right ) + \operatorname{Ci}\left (-\frac{b d x + a d}{b}\right )\right )} \sin \left (-\frac{b c - a d}{b}\right ) - 2 \, \cos \left (-\frac{b c - a d}{b}\right ) \operatorname{Si}\left (\frac{b d x + a d}{b}\right )}{2 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin{\left (c + d x \right )}}{a + b x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.16813, size = 806, normalized size = 15.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]